/*
 * @Author: kongaobo tkfor@foxmail.com
 * @Date: 2024-02-28 14:37:46
 * @LastEditors: kongaobo tkfor@foxmail.com
 * @LastEditTime: 2024-02-29 09:19:27
 * @Description:数据库数据源结果api
 */
import request from '@/config/axios'

export interface overviewType {
  historyId: string
  collectionAssetId?: string
  datasourceId?: string
}

export const getTaskDetail = async (params: overviewType) => {
  return await request.get({ url: '/amp/collection-result/asset-overview', params })
}

export const getFsList = async (data) => {
  return await request.postOriginal({ url: '/amp/collection-result/file-result', data })
}

export const getLogList = async (data) => {
  return await request.postOriginal({ url: '/amp/collection-result/log-result', data })
}
